-
Notifications
You must be signed in to change notification settings - Fork 43
fix(log): properly set logrus level #327
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice 👍🏻
log/hijack/logrus.go
Outdated
@@ -0,0 +1,62 @@ | |||
package hijack |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How about logrushijack
? I feel this package name is a bit too generic. 🤔
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't mind renaming, but logrushijack
is kinda hard to read IMO.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think that's fine for a one-off package that isn't used much elsewhere, logjack
is my alternative suggestion. 😄
(Or just move into log
package.)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
:D I like logjack
but probably simplest to move it into log
.
(cherry picked from commit 8b9ec59)
HijackLogrus
to packagelog.HijackLogrus
.Cherry-pick to
release/1.0
branch.